package com.bing.schoolmanager.service.impl;

import com.bing.schoolmanager.Util.MybatisUtil;
import com.bing.schoolmanager.mapper.AdminMapper;
import com.bing.schoolmanager.pojo.Admin;
import com.bing.schoolmanager.service.AdminService;

public class AdminServiceImpl implements AdminService {
    AdminMapper adminMapper = MybatisUtil.getSession(true).getMapper(AdminMapper.class);
    @Override
    public Admin getAdminByLogin(String loginId) {

        return adminMapper.getAdminByLogin(loginId);
    }
}
